#ifndef SERVER_LISTEN_CONTROLLER_H
#define SERVER_LISTEN_CONTROLLER_H

#include "ServerListenModel.h"
#include "ServerListenView.h"
#include "NetworkPat.h"

class ServerListenController: public Controller
{
  public:
    ServerListenController(Model* m, View* v, NetworkPat* net);
    ~ServerListenController(void);
    virtual void HandleMessages(std::list<Message*>* l);
    virtual GameState Update(void);
    virtual void PassMessage(Message* msg);
  private:
    void ProcessMessages(void);
    ServerListenModel* _model;
    ServerListenView* _view;
    NetworkPat* _net;
    bool mShouldReset;
};

#endif
